package com.woniuxy.caradmin.entity.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "oilrecord", description = "加油记录")
public class Oilrecord {
    @ApiModelProperty(value = "[自动增长]主键")
    private Integer id;
    @ApiModelProperty(value = "关联车辆档案id")
    private Integer vid;
    private Vehiclefiles vehiclefile;
    @ApiModelProperty(value = "加油时间")
    private Date time;
    @ApiModelProperty(value = "油料标号")
    private Integer oillableid;
    @ApiModelProperty(value = "单价")
    private Double priceone;
    @ApiModelProperty(value = "本次加油")
    private String nowvolume;
    @ApiModelProperty(value = "本次加油总价")
    private Double totalprice;
    @ApiModelProperty(value = "本次加油里程")
    private String nowmileage;
    @ApiModelProperty(value = "上次加油里程")
    private String lastmileage;
    @ApiModelProperty(value = "上次加油量")
    private String lastvolume;
    @ApiModelProperty(value = "备注")
    private String information;
    @ApiModelProperty(value = "关联司机表id")
    private Integer driverid;
    private Driver drivers;
    @ApiModelProperty(value = "关联到字典表")
    private Integer oilstationid;
    //油料标号
    private Dictionary oillable;
    //油站
    private Dictionary oilstation;
    @ApiModelProperty("状态")
    private Integer status;



}
